<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script src="./js/angular-1.5.8/angular.js"></script>
</head>
<body>
<div>
    <input type="text" name="" ng-model="txt"/><br/>
    <input type="text" name="" ng-model="txt"/><br/>
</div>
<hr>
<div>
    <input type="text" name="" ng-model="txt"/>
    <input type="text" name="" ng-model="txt"/>
</div>
</body>
<script>
    angular.module('app1',[]);
    angular.module('app2',[]);

    //就是开机绑定，ng运行起来的时候 手动绑定模块

    var divs = document.querySelectorAll('div');
    angular.bootstrap(divs[0],['app1']);
    angular.bootstrap(divs[1],['app2']);
</script>
</html>